package org.sippr.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.sippr.pojo.Creation;

import java.util.List;

@Mapper
public interface CreationMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Creation record);

    int insertSelective(Creation record);

    Creation selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Creation record);

    int updateByPrimaryKey(Creation record);

    List<Creation> findByProjectId(Integer projectId);
}